Ashish Ranjan Karn
commited on
Commit
·
00df4b2
1
Parent(s):
d0f955a
update
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks() as myapp:
|
|
117 |
with gr.Row():
|
118 |
# FAQs = gr.Textbox(label="Found FAQs")
|
119 |
# answers = gr.Textbox(label="Found Answers")
|
120 |
-
response_df_list = [gr.Dataframe(row_count = (2, "dynamic"), col_count=(2,"dynamic"), label="Matching FAQs", headers=columns, wrap=True)]
|
121 |
|
122 |
audio_bar = gr.Audio(label='Audio output')
|
123 |
|
|
|
117 |
with gr.Row():
|
118 |
# FAQs = gr.Textbox(label="Found FAQs")
|
119 |
# answers = gr.Textbox(label="Found Answers")
|
120 |
+
response_df_list = [gr.Dataframe(row_count = (2, "dynamic"), col_count=(2,"dynamic"), label="Matching FAQs", headers=columns, wrap=True, interactive=False)]
|
121 |
|
122 |
audio_bar = gr.Audio(label='Audio output')
|
123 |
|
test.html
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
+
<title>Document</title>
|
8 |
+
<!-- <script type="module"
|
9 |
+
src="https://gradio.s3-us-west-2.amazonaws.com/3.4.1/gradio.js">
|
10 |
+
</script> -->
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
</head>
|
16 |
+
<body>
|
17 |
+
<!-- <gradio-app space="arkiitkgp/faqgen"> <gradio-app></gradio-app> -->
|
18 |
+
<style type="text/css">
|
19 |
+
html, body{
|
20 |
+
width:100%;
|
21 |
+
height:100%;
|
22 |
+
overflow:hidden;
|
23 |
+
margin:0px;
|
24 |
+
}
|
25 |
+
</style>
|
26 |
+
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
|
27 |
+
<script type="text/javascript">
|
28 |
+
function autoResize(iframe) {
|
29 |
+
$(iframe).height($(iframe).contents().find('html').height());
|
30 |
+
}
|
31 |
+
</script>
|
32 |
+
|
33 |
+
|
34 |
+
<iframe src="https://hf.space/embed/arkiitkgp/faqgen/+" allow="camera; microphone" width="100%" height="100%" marginheight="0" frameborder="0" border="0" scrolling="auto" onload="autoResize(this);"></iframe>
|
35 |
+
|
36 |
+
<br>
|
37 |
+
<br>
|
38 |
+
<br>
|
39 |
+
<p> <br> </p>
|
40 |
+
<footer>
|
41 |
+
© <em id="date"></em>ARK Tech
|
42 |
+
</footer>
|
43 |
+
|
44 |
+
</body>
|
45 |
+
</html>
|