tstone87 commited on
Commit
d948d75
·
verified ·
1 Parent(s): ff195b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,7 +3,9 @@ import gradio as gr
3
 
4
  # Load the pipeline for text generation
5
  try:
6
- generator = pipeline("text-generation", model="microsoft/DialoGPT-small")
 
 
7
  except Exception as e:
8
  print(f"Error loading the model: {e}")
9
  raise
 
3
 
4
  # Load the pipeline for text generation
5
  try:
6
+ # generator = pipeline("text-generation", model="microsoft/DialoGPT-small")
7
+ generator = pipeline("text-generation", model="microsoft/DialoGPT-medium")
8
+
9
  except Exception as e:
10
  print(f"Error loading the model: {e}")
11
  raise