Spaces:
Sleeping
Sleeping
Pranjal Gupta commited on
Commit ·
c791c6d
1
Parent(s): 1ee6c81
ui changed
Browse files
app.py
CHANGED
|
@@ -187,6 +187,7 @@ with gr.Blocks(title="Contextual RAG Chatbot on Hugging Face Spaces") as demo:
|
|
| 187 |
|
| 188 |
def tokenFunc (value) :
|
| 189 |
newToken = value
|
|
|
|
| 190 |
|
| 191 |
hf_token_textbox = gr.Interface(fn=tokenFunc, inputs="textbox")
|
| 192 |
|
|
|
|
| 187 |
|
| 188 |
def tokenFunc (value) :
|
| 189 |
newToken = value
|
| 190 |
+
return value
|
| 191 |
|
| 192 |
hf_token_textbox = gr.Interface(fn=tokenFunc, inputs="textbox")
|
| 193 |
|