Spaces:
Build error
Build error
Connecting to new private repo
Browse files
main.py
CHANGED
|
@@ -11,7 +11,7 @@ import json
|
|
| 11 |
|
| 12 |
|
| 13 |
### LOAD PRIVATE SPACE ###
|
| 14 |
-
url = "Juggling/
|
| 15 |
token = os.environ['TOKEN']
|
| 16 |
generator = gr.load(url, src="spaces", token=token)
|
| 17 |
|
|
@@ -461,7 +461,7 @@ with gr.Blocks() as demo:
|
|
| 461 |
|
| 462 |
# Let the user dynamically describe their workshops
|
| 463 |
descriptions = gr.State([])
|
| 464 |
-
new_description = gr.Textbox(label='Workshop Descriptions', info='Describe the workshop(s) you want to teach. Include the title, prereqs, difficulty level
|
| 465 |
|
| 466 |
def add_descrip(descriptions, new_description):
|
| 467 |
return descriptions + [{"name": new_description}], ""
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
### LOAD PRIVATE SPACE ###
|
| 14 |
+
url = "Juggling/Schedule_Buddy_Updated"
|
| 15 |
token = os.environ['TOKEN']
|
| 16 |
generator = gr.load(url, src="spaces", token=token)
|
| 17 |
|
|
|
|
| 461 |
|
| 462 |
# Let the user dynamically describe their workshops
|
| 463 |
descriptions = gr.State([])
|
| 464 |
+
new_description = gr.Textbox(label='Workshop Descriptions', info='Describe the workshop(s) you want to teach. Include the title, prereqs, and difficulty level for each workshop. Hit "Enter" after each one.', visible=False)
|
| 465 |
|
| 466 |
def add_descrip(descriptions, new_description):
|
| 467 |
return descriptions + [{"name": new_description}], ""
|