Spaces:
Runtime error
Runtime error
Update app.py
Browse files2 unmodified lines3456789101132 unmodified lines444546472 unmodified linesimport torch #this is just like the HF videotitle = "Saras first try at ChatBot"description = "Based on a Pretrained Response generation model (DialoGPT)"examples = [["How are you?"]]#heres the import of Microsofts tokenizer. *NOTE* that the tokenizers are imported from transformers abovetokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large")32 unmodified linesinputs=["text", "state"],outputs=["chatbot", "state"],theme="finlaymacklon/boxy_violet",).launch()2 unmodified lines34567891011121332 unmodified lines46474849502 unmodified linesimport torch #this is just like the HF videotitle = "Saras try at thesis abstract ChatBot"description = "Based on a Pretrained Response generation model (DialoGPT)"examples = ["How are you?","How is Brian?","How is Sara?"]#f = open('thesisAbstract.txt','r')#heres the import of Microsofts tokenizer. *NOTE* that the tokenizers are imported from transformers abovetokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large")32 unmodified linesinputs=["text", "state"],outputs=["chatbot", "state"],theme="finlaymacklon/boxy_violet",).launch()
app.py+6-3