Update app.py (#1)
Browse files- Update app.py (c5dfad2709247ef355c228ed1767e183b629d26f)
- Update README.md (0ee2f9afd7e5773142bfbefc5af007fc037ca207)
Co-authored-by: Nishith Jain <KingNish@users.noreply.huggingface.co>
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🌍
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.33.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -20,7 +20,7 @@ hf_hub_download(
|
|
20 |
llm = None
|
21 |
llm_model = None
|
22 |
|
23 |
-
@spaces.GPU()
|
24 |
def respond(
|
25 |
message,
|
26 |
history: list[tuple[str, str]],
|
|
|
20 |
llm = None
|
21 |
llm_model = None
|
22 |
|
23 |
+
@spaces.GPU(duration=120)
|
24 |
def respond(
|
25 |
message,
|
26 |
history: list[tuple[str, str]],
|