stale2000 commited on
Commit
2123fad
·
1 Parent(s): d47b997

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -5,6 +5,11 @@ import os
5
  import openai
6
  import gradio
7
 
 
 
 
 
 
8
  openai.api_key = os.getenv('openaikey')
9
 
10
  def predict(input, manual_query_repacement, history=[]):
 
5
  import openai
6
  import gradio
7
 
8
+ import torch
9
+ from diffusers import StableDiffusionPipeline
10
+ from torch import autocast
11
+
12
+
13
  openai.api_key = os.getenv('openaikey')
14
 
15
  def predict(input, manual_query_repacement, history=[]):