Spaces:
Sleeping
Sleeping
Update app.py
Browse files439 unmodified lines440441442443444445446447439 unmodified linesdef API(self, prompt):while True:try:print("Gerando...")res = self.oppo.models.generate_content(model="gemma-27b-it", contents=prompt)return res.textexcept Exception as e:print("erro:", e)439 unmodified lines440441442443444445446447448439 unmodified linesdef API(self, prompt):while True:try:sleep(3)print("Gerando...")res = self.oppo.models.generate_content(model="gemma-3-27b-it", contents=prompt)return res.textexcept Exception as e:print("erro:", e)
app.py+2-1