Spaces:
Runtime error
Runtime error
Commit
·
d3384fb
1
Parent(s):
ca75b7d
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ import os
|
|
4 |
|
5 |
HUGGINGFACEHUB_API_TOKEN=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
6 |
|
7 |
-
client = Client("https://AIShare-aichatbot.hf.space/", hf_token=HUGGINGFACEHUB_API_TOKEN)
|
|
|
8 |
|
9 |
def chat_with_model(input_text):
|
10 |
result = client.predict(input_text, api_name="/user_input_from_st")
|
|
|
4 |
|
5 |
HUGGINGFACEHUB_API_TOKEN=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
6 |
|
7 |
+
#client = Client("https://AIShare-aichatbot.hf.space/", hf_token=HUGGINGFACEHUB_API_TOKEN)
|
8 |
+
client = Client("https://binqiangliu-gr-textbox.hf.space/")
|
9 |
|
10 |
def chat_with_model(input_text):
|
11 |
result = client.predict(input_text, api_name="/user_input_from_st")
|