Spaces:
Running
Running
first commit
Browse files- README.md +3 -4
- app.py +4 -4
- requirements.txt +6 -1
README.md
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
---
|
2 |
title: Multimodal RAG
|
3 |
-
emoji:
|
4 |
colorFrom: yellow
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
|
|
7 |
app_file: app.py
|
8 |
-
|
9 |
-
license: creativeml-openrail-m
|
10 |
---
|
11 |
|
12 |
-
An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
|
|
|
1 |
---
|
2 |
title: Multimodal RAG
|
3 |
+
emoji: 🔥
|
4 |
colorFrom: yellow
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.43.2
|
8 |
app_file: app.py
|
9 |
+
app_port: 7860
|
|
|
10 |
---
|
11 |
|
|
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
import os
|
2 |
-
os.system("pip uninstall -y gradio")
|
3 |
-
os.system("pip install gradio==3.43.2")
|
4 |
|
5 |
import argparse
|
6 |
import sys
|
@@ -385,7 +385,7 @@ enable_queue = True
|
|
385 |
if __name__ == "__main__":
|
386 |
parser = argparse.ArgumentParser()
|
387 |
parser.add_argument("--host", type=str, default="0.0.0.0")
|
388 |
-
parser.add_argument("--port", type=int, default=
|
389 |
parser.add_argument("--concurrency-count", type=int, default=20)
|
390 |
parser.add_argument("--share", action="store_true")
|
391 |
parser.add_argument("--worker-address", type=str, default="198.175.88.247")
|
|
|
1 |
+
# import os
|
2 |
+
# os.system("pip uninstall -y gradio")
|
3 |
+
# os.system("pip install gradio==3.43.2")
|
4 |
|
5 |
import argparse
|
6 |
import sys
|
|
|
385 |
if __name__ == "__main__":
|
386 |
parser = argparse.ArgumentParser()
|
387 |
parser.add_argument("--host", type=str, default="0.0.0.0")
|
388 |
+
parser.add_argument("--port", type=int, default=7860)
|
389 |
parser.add_argument("--concurrency-count", type=int, default=20)
|
390 |
parser.add_argument("--share", action="store_true")
|
391 |
parser.add_argument("--worker-address", type=str, default="198.175.88.247")
|
requirements.txt
CHANGED
@@ -1 +1,6 @@
|
|
1 |
-
huggingface_hub==0.22.2
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
huggingface_hub==0.22.2
|
2 |
+
fastapi
|
3 |
+
gradio==3.43.2
|
4 |
+
requests
|
5 |
+
uvicorn
|
6 |
+
gradio_client==0.5.0
|