kavansaun commited on
Commit
035fc3b
·
verified ·
1 Parent(s): 729feb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(),css="footer{display:none !important}
27
 
28
  # Creating a new file with the user id to save the user responses and chat bot responses to the repository
29
  repo = g.get_user().get_repo("CATDATA")
30
- filename = str(unique_id) + '.txt'
31
  repo.create_file(filename, "Saving" + filename, "")
32
 
33
  return gr.Markdown(f"<h1><center> Session Id: {new_id} </center></h1>",visible=True) # Returning the "Markdown" object with what we want.
 
27
 
28
  # Creating a new file with the user id to save the user responses and chat bot responses to the repository
29
  repo = g.get_user().get_repo("CATDATA")
30
+ filename = str(new_id) + '.txt'
31
  repo.create_file(filename, "Saving" + filename, "")
32
 
33
  return gr.Markdown(f"<h1><center> Session Id: {new_id} </center></h1>",visible=True) # Returning the "Markdown" object with what we want.