Spaces:
Sleeping
Sleeping
Commit
·
4136636
1
Parent(s):
2b15c0a
Add duplicate badge
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🚀
|
|
4 |
colorFrom: pink
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: pink
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.32.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -118,6 +118,10 @@ with gr.Blocks(css="style.css") as demo:
|
|
118 |
["What is the main topic of the file?", "Who is the author of the file?"],
|
119 |
user_question,
|
120 |
)
|
|
|
|
|
|
|
|
|
121 |
|
122 |
file_url.submit(upload_via_url, file_url, [file_output, state])
|
123 |
upload_button.upload(upload_file, upload_button, [file_output, state])
|
|
|
118 |
["What is the main topic of the file?", "Who is the author of the file?"],
|
119 |
user_question,
|
120 |
)
|
121 |
+
gr.HTML(
|
122 |
+
"""<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/dragonSwing/langchain-askpdf?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br>
|
123 |
+
<p><img src="https://visitor-badge.glitch.me/badge?page_id=dragonswing.langchain-askpdf" alt="visitors"></p></center>"""
|
124 |
+
)
|
125 |
|
126 |
file_url.submit(upload_via_url, file_url, [file_output, state])
|
127 |
upload_button.upload(upload_file, upload_button, [file_output, state])
|